package org.footballmanager.pandafootball.system.domain;

import lombok.Getter;
import lombok.Setter;
import lombok.ToString;
import org.footballmanager.pandafootball.system.domain.enums.BFLX;
import org.footballmanager.pandafootball.system.domain.enums.BFZT;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Transient;
import javax.validation.constraints.NotNull;
import java.io.Serializable;

/**
 * 报分
 */
@Entity
@Setter
@Getter
@ToString
public class FootBfinfo extends BaseEntity implements Serializable {
    @Column(name = "sj")
    private Long sj;
    @Transient
    private String sjbm;
    @NotNull
    @Column(name = "qd1")
    private Long qd1;
    @Transient
    private String qd1Name;
    @Column(name = "jq1")
    @NotNull
    private Integer jq1 = 0;
    @Column(name = "jq2")
    @NotNull
    private Integer jq2 = 0;
    @Column(name = "qd2")
    @NotNull
    private Long qd2;
    @Transient
    private String qd2Name;
    @Column(name = "bfzt")
    private BFZT bfzt;
    @Column(name = "bflx")
    private BFLX bflx;
}